package homewoek12月19号.homwwork.h3;

import java.io.Serializable;
import java.util.Arrays;

public class User implements Serializable {
    private  String loginName;
    private  String password;
    private  String sex;
    private  String esu;
    private  String[] arr;

    @Override
    public String
    toString() {
        return "User{" +
                "loginName='" + loginName + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", esu='" + esu + '\'' +
                ", arr=" + Arrays.toString(arr) +
                '}';
    }

    public User() {
    }

    public User(String loginName, String password, String sex, String esu, String[] arr) {
        this.loginName = loginName;
        this.password = password;
        this.sex = sex;
        this.esu = esu;
        this.arr = arr;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEsu() {
        return esu;
    }

    public void setEsu(String esu) {
        this.esu = esu;
    }

    public String[] getArr() {
        return arr;
    }

    public void setArr(String[] arr) {
        this.arr = arr;
    }
}
